<!--
   _   _                      _                 _
  | | | |                    | |               | |
  | |_| | ___  _ __ ___   ___| | __ _ _ __   __| |
  |  _  |/ _ \| '_ ` _ \ / _ \ |/ _` | '_ \ / _` |
  | | | | (_) | | | | | |  __/ | (_| | | | | (_| |
  \_| |_/\___/|_| |_| |_|\___|_|\__,_|_| |_|\__,_|
  ------------------------------------------------
                          https://gethomeland.com

  - Ruby:  2.6.0-p-1
  - Rails: 5.2.1.1
  - Homeland: 3.2.0
-->
<!DOCTYPE html>
<html>
<head>
  <meta charset='utf-8' />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
  <title>登录 · Ruby China</title>
  <meta name="apple-mobile-web-app-capable" content="no">
  <meta content='True' name='HandheldFriendly' />
  <link rel="alternate" type="application/rss+xml" title="订阅最新帖" href="https://ruby-china.org/topics/feed" />
  <link rel="stylesheet" media="screen" href="/assets/front-86d4b98f827c3cb3fdc93308e596bbc82ce49fc04afd6a60cd5f693be9cdb904.css" data-turbolinks-track="reload" />
  
  
  <meta name="action-cable-url" content="/cable" />
  <meta name="csrf-param" content="authenticity_token" />
<meta name="csrf-token" content="AOrzIyfhg+3WAuz44+Zb31B3e3bmVDenHzdwvVr1QgEXf4Q9TP8u1rBh5DTbo5J57WewBz0RMcpFWNmK2KWIHw==" />
  <meta name="apple-itunes-app" content="app-id=1072028763" />
<meta name="google-site-verification" content="YRy3qLejfhrOT_FxPRQn2p5h_ykCLOmhpP3Q5QUWdHU" />
<link rel="icon" href="//l.ruby-china.com/photo/2016/c309db0b49cab85a32f756541ea0e2b0.png" />
<link rel="mask-icon" href="//l.ruby-china.com/photo/2016/8c03593544987c35a95d5f2e83e86e61.svg!large" />
<link rel="apple-touch-icon" href="//l.ruby-china.com/photo/2018/bd93b12d-98d0-47a4-9f7a-128b8a3271f7.png!large" />

<style>
body { background: #e5e5e5; }
.header .navbar-brand b { color: #EB5424; }
.header #main-nav-menu .navbar-nav li a:hover, .header #main-nav-menu .navbar-nav li.active a, .header #main-nav-menu .navbar-nav li.active a:focus, .header #main-nav-menu .navbar-nav li.active a:hover { color: #EB5424; border-color: #EB5424; }
.header .navbar-inverse .navbar-nav .open .dropdown-menu li.active a { color: #EB5424; }
.turbolinks-progress-bar { color: #EB5424 !important; }
abbr {  text-decoration: none; }
</style>

  <script src="/assets/app-c1b6d80dfe6de602defb07ff14b89fe2749a2a3540589668f0c12efa8f163db6.js" data-turbolinks-track="reload"></script>
  
</head>
<body class="page-sessions" data-controller-name="sessions">
  <div class="header navbar navbar-expand flex-md-row bd-navbar">
    <div class="container d-sm-flex">
      <div class="navbar-header d-none d-md-flex" id="navbar-header" data-turbolinks-permanent>
        <a href="/" class="navbar-brand"><b>Ruby</b> China</a>

      </div>
      <div class="navbar-nav-scroll">
        
        <ul id="main-nav-menu" class="navbar-nav d-flex">
  <li class="nav-item"><a class="nav-link" href="/topics">社区</a></li><li class="nav-item"><a class="nav-link" href="/jobs">招聘</a></li><li class="nav-item"><a class="nav-link" href="/wiki">Wiki</a></li><li class="nav-item"><a class="nav-link" href="/sites">酷站</a></li>
  <li class="nav-gems nav-item d-none"><a href="https://gems.ruby-china.com" class="nav-link" target="_blank" rel="noopener">Gems</a></li>

</ul>

      </div>
      <div class="ml-auto d-md-flex">
        <form class="navbar-form d-none d-lg-flex mr-2 form-search active" action="/search" method="GET">
          <i class="fa btn-search fa-search"></i>
          <input class="form-control" name="q" type="text" value="" placeholder="搜索本站内容" />
        </form>
        <ul class="nav navbar-nav user-bar align-items-center justify-content-end">

    <li class="nav-item"><a class="nav-link" href="/account/sign_up">注册</a></li>

    <li class="nav-item"><a class="nav-link" href="/account/sign_in">登录</a></li>
</ul>



      </div>
    </div>
  </div>

  

  <div id="main" class="main-container container">
    <div class="alert alert-danger"><button name="button" type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span></button>继续操作前请注册或者登录。</div>
    
<div class="row">
  <div class="col"></div>
  <div class="col-md-5">
    <div class="card">
      <div class="card-header">登录</div>
      <div class="card-body">
        <form class="new_user" id="new_user" action="/account/sign_in" accept-charset="UTF-8" data-remote="true" method="post"><input name="utf8" type="hidden" value="&#x2713;" />
          <div class="form-group">
            <input class="form-control input-lg" placeholder="用户名 / Email" type="text" name="user[login]" id="user_login" />
          </div>
          <div class="form-group">
            <input type="password" class="form-control input-lg" placeholder="密码" name="user[password]" id="user_password" />
          </div>

          <div class="form-group from-check">
            <label class="form-check-label" for="user_remember_me">
              <input name="user[remember_me]" type="hidden" value="0" /><input type="checkbox" value="1" name="user[remember_me]" id="user_remember_me" />
              记住登录状态（60 天）
            </label>
          </div>

          <div class="form-actions">
            <input type="submit" name="commit" value="登录" class="btn btn-primary btn-lg btn-block" data-disable-with="正在登录" />
          </div>
</form>      </div>
    </div>
  </div>
  <div class="col-md-3">
    <div class="card">
      <div class="card-header">用其他平台的帐号登录</div>
      <ul class="list-group list-group-flush">
        <li class="list-group-item">
          <a class="btn btn-default btn-lg btn-block" href="/account/auth/github"><i class='fa fa-github'></i> GitHub</a>
        </li>
      </ul>
    </div>

    <div class="card">
      <ul class="list-group list-group-flush">

    <li class="list-group-item"><a href="/account/sign_up">注册</a></li>

    <li class="list-group-item"><a href="/account/password/new">忘记了密码?</a></li>


    <li class="list-group-item"><a href="/account/unlock/new">未收到解锁邮件?</a></li>
</ul>

    </div>
  </div>
  <div class="col"></div>
</div>

<script>
  $('#new_user').on('ajax:error', function(event, xhr, status, error) {
    App.alert(xhr.responseText);
  })
</script>

  </div>

  <footer class="footer" id="footer" data-turbolinks-permanent>
    <div class="container">
      <div class="media" data-turbolinks="false">
  <div class="media-left" style="margin-right:20px;">
    <img class="media-object" src="//l.ruby-china.com/photo/2016/c309db0b49cab85a32f756541ea0e2b0.png" style="width: 64px;" />
  </div>
  
  <div class="media-body">
    <div class="links">
      <a href="/wiki/about">关于</a> / <a href="http://rubyconfchina.org" target="_blank" title="RubyConf China 大会">RubyConf</a> / <a href="/wiki/ruby-mirror" title="Ruby 镜像">Ruby 镜像</a> / <a href="https://
gems.ruby-china.com" target="_blank" title="RubyGems 镜像">RubyGems 镜像</a> / <a href="/status" target="_blank">Status</a> / <a href="/users">活跃会员</a> / <a href="/teams">组织</a> / <a href="https://yuque.com/ruby-china/api/getting-started">API</a> / <a href="/wiki/contributors">贡献者</a>
    </div>
    <div class="copyright">
      由众多爱好者共同维护的 Ruby 中文社区，本站使用 <a href="https://gethomeland.com">Homeland</a> 构建，并采用 Docker 部署。
    </div>
<div class="supports" style="margin: 10px 0;">
    <span style="margin-right: 20px">服务器由 <a href="http://www.ucloud.cn/?utm_source=zanzhu&utm_campaign=rubychina&utm_medium=display&utm_content=yejiao&ytag=rubychina_logo" target="_blank"  rel="twipsy" title="本站服务器由 UCloud 赞助"><img src="//l.ruby-china.com/photo/2016/e1eb47a05578576bf134da65736cc5b4.png" style='height: 20px; margin-top: -2px' /></a> 赞助</span>
    <span style="margin-right: 20px">CDN 由 <a href="https://www.upyun.com/https.html?utm_source=ruby&utm_medium=Referral&utm_content=httpsad" target="_blank" style="display:inline-block;" rel="twipsy"  title="CDN, Ruby Mirror, RubyGems CDN 由又拍云赞助"><img src="//l.ruby-china.com/photo/2017/e094bd44-fd71-4ab7-9dcf-f4931f480705.png" style="height: 20px; margin-top: -2px" /></a> 赞助</span>
    <span>Gem 服务器由
    <a href="http://www.qcloud.com?ref=ruby-china" target="_blank" rel="twipsy" title="腾讯云为 RubyGems 镜像提供国外服务器支持"><img src="//l.ruby-china.com/photo/2016/1977b4bcf6589a03fb4d21139955aa6a.png" style="height: 20px; margin-top: -3px" /></a> 赞助</span>
   </div>
   <div class="links" style="margin-top:8px" >
     <span class="socials">
     <a href="http://github.com/ruby-china" target="_blank" rel="nofollow" title="本站在 GitHub 上面的开源内容"><i class="fa fa-github"></i></a>
     <a href="http://twitter.com/ruby_china" target="_blank" rel="nofollow" title="本站的 Twitter 账号"><i class="fa fa-twitter"></i></a>
     <a href="http://weibo.com/u/3168836987" target="_blank" rel="nofollow" title="本站的 Weibo 账号"><i class="fa fa-weibo"></i></a>
     <a href="https://www.youtube.com/channel/UCOLKFS_uA7nX26_u8z9V9og/feed" target="_blank" rel="nofollow" title="本站在 YouTube 上面的视频内容"><i class="fa fa-youtube"></i></a>
     <a href="/topics/feed" target="_blank" rel="nofollow"><i class="fa fa-rss"></i></a>
     </span>

     <span style="margin-left:20px;"><a href="https://itunes.apple.com/us/app/ruby-china/id1072028763">iOS 客户端</a> / <a href="https://play.google.com/store/apps/details?id=org.ruby_china.android">Android 客户端</a></span>

     <a href="?locale=zh-CN" rel="nofollow" style="margin-left: 20px">简体中文</a> / <a href="?locale=zh-TW" rel="nofollow">正體中文</a> / <a href="?locale=en" rel="nofollow">English</a>
   </div>
  </div>
</div>
    </div>
  </footer>

  <script type="text/javascript" data-turbolinks-eval="false">
    App.root_url = "https://ruby-china.org/";
    App.asset_url = "https://l.ruby-china.com";
    App.twemoji_url = "https://twemoji.b0.upaiyun.com/2";
    App.locale = "zh-CN";
  </script>
  
  <script>
    ga('create', '', 'auto');
    ga('require', 'displayfeatures');
    ga('send', 'pageview');
  </script>
  <div class="zoom-overlay"></div>
</body>
</html>
